import { request } from '@api/service'

// 详情
export const fetchDetail = (params) => {
  return request({
    url: '/task/detail',
    method: 'get',
    params
  })
}

// 审核
export const verify = (params, data) => {
  return request({
    url: '/task/change-status',
    method: 'put',
    params,
    data
  })
}
